home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 25 / Cream of the Crop 25.iso / os2 / gnuwget.zip / wget-1.4.3 / config.h.in < prev    next >
Text File  |  1997-02-09  |  5KB  |  193 lines

  1. /* Configuration header file.
  2.    Copyright (C) 1995, 1996, 1997 Free Software Foundation, Inc.
  3.    
  4.    This program is free software; you can redistribute it and/or modify
  5.    it under the terms of the GNU General Public License as published by
  6.    the Free Software Foundation; either version 2 of the License, or
  7.    (at your option) any later version.
  8.    
  9.    This program is distributed in the hope that it will be useful,
  10.    but WITHOUT ANY WARRANTY; without even the implied warranty of
  11.    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  12.    GNU General Public License for more details.
  13.    
  14.    You should have received a copy of the GNU General Public License
  15.    along with this program; if not, write to the Free Software
  16.    Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.  */
  17.  
  18.  
  19. #ifndef CONFIG_H
  20. #define CONFIG_H
  21.  
  22. /***
  23.  * User Configuration Section
  24.  *
  25.  * Most of these settings should work as they are, and you should fix
  26.  * them only if you wish to change the behaviour of the program, or to
  27.  * compile it on a particular system.
  28.  *
  29.  * Global settings like DEFAULT_MAXRECLEVEL or DEFAULT_NUMBER_OF_TRIES
  30.  * should be rather changed in the global wgetrc file than here.  But
  31.  * still -- you can do it.
  32.  ***/
  33.  
  34. /* Define this as read timeout. */
  35. #define DEFAULT_TIMEOUT 900
  36.  
  37. /* Define your own host and domain. */
  38. #undef MY_HOST
  39. #undef MY_DOMAIN
  40.  
  41. #define DEFAULT_LOGFILE "wget-log"
  42.  
  43. #define DEFAULT_NUMBER_OF_TRIES 20     /* modified with -t */
  44.  
  45. #define DEFAULT_MAXRECLEVEL 5          /* modified with -l */
  46.  
  47. #define DEFAULT_DIRMODE 0755           /* modified with dir_mode */
  48.  
  49. #define DEFAULT_DIRPREFIX "."          /* modified with -P */
  50.  
  51. /* Undef if you do not want debug support. */
  52. #define DEBUG
  53.  
  54. /***********************************
  55.   End of user-configuration section
  56.   ***********************************/
  57.  
  58. #ifndef DEBUG
  59. #  define NDEBUG /* To kill off assertions */
  60. #endif /* DEBUG */
  61.  
  62. /* Define if on AIX 3.
  63.    System headers sometimes define this.
  64.    We just want to avoid a redefinition error message.  */
  65. #ifndef _ALL_SOURCE
  66. #undef _ALL_SOURCE
  67. #endif
  68.  
  69. /* Define to empty if the keyword does not work.  */
  70. #undef const
  71.  
  72. /* Define to `unsigned' if <sys/types.h> doesn't define.  */
  73. #undef size_t
  74.  
  75. /* Define if you have the ANSI C header files.  */
  76. #undef STDC_HEADERS
  77.  
  78. /* Define as the return type of signal handlers (int or void).  */
  79. #undef RETSIGTYPE
  80.  
  81. /* Define if you have sys/time.h header. */
  82. #undef HAVE_SYS_TIME_H
  83.  
  84. /* Define if you can safely include both <sys/time.h> and <time.h>.  */
  85. #undef TIME_WITH_SYS_TIME
  86.  
  87. /* Define if you have struct utimbuf.  */
  88. #undef HAVE_STRUCT_UTIMBUF
  89.  
  90. /* Define if you have the getdomainname function.  */
  91. #undef HAVE_GETDOMAINNAME
  92.  
  93. /* Define if you have the gethostname function.  */
  94. #undef HAVE_GETHOSTNAME
  95.  
  96. /* Define if you have the select function.  */
  97. #undef HAVE_SELECT
  98.  
  99. /* Define if you have the gettimeofday function.  */
  100. #undef HAVE_GETTIMEOFDAY
  101.  
  102. /* Define if you have the strdup function.  */
  103. #undef HAVE_STRDUP
  104.  
  105. /* Define if you have the sys/utsname.h header. */
  106. #undef HAVE_SYS_UTSNAME_H
  107.  
  108. /* Define if you have the sys/systeminfo.h header. */
  109. #undef HAVE_SYS_SYSTEMINFO_H
  110.  
  111. /* Define if you have the sysinfo function.  */
  112. #undef HAVE_SYSINFO
  113.  
  114. /* Define if you have the strerror function. */
  115. #undef HAVE_STRERROR
  116.  
  117. /* Define if you have the strstr function. */
  118. #undef HAVE_STRSTR
  119.  
  120. /* Define if you have the strcasecmp function. */
  121. #undef HAVE_STRCASECMP
  122.  
  123. /* Define if you have the strncasecmp function. */
  124. #undef HAVE_STRNCASECMP
  125.  
  126. /* Define if you have the strptime function. */
  127. #undef HAVE_STRPTIME
  128.  
  129. /* Define if you have the mktime function. */
  130. #undef HAVE_MKTIME
  131.  
  132. /* Define if you have the symlink function. */
  133. #undef HAVE_SYMLINK
  134.  
  135. /* Define if you have the signal function. */
  136. #undef HAVE_SIGNAL
  137.  
  138. /* Define if you have the <string.h> header file.  */
  139. #undef HAVE_STRING_H
  140.  
  141. /* Define if you have the <unistd.h> header file.  */
  142. #undef HAVE_UNISTD_H
  143.  
  144. /* Define if you have the <utime.h> header file.  */
  145. #undef HAVE_UTIME_H
  146.  
  147. /* Define if you have the <sys/utime.h> header file.  */
  148. #undef HAVE_SYS_UTIME_H
  149.  
  150. /* Define if you have the <sys/select.h> header file.  */
  151. #undef HAVE_SYS_SELECT_H
  152.  
  153. /* Define if you have the <pwd.h> header file.  */
  154. #undef HAVE_PWD_H
  155.  
  156. /* Define if you have the <signal.h> header file.  */
  157. #undef HAVE_SIGNAL_H
  158.  
  159. /* Define to be the name of the operating system.  */
  160. #undef OS_TYPE
  161.  
  162. /* Define if you wish to compile with socks support.  */
  163. #undef HAVE_SOCKS
  164.  
  165. /* Define to 1 if ANSI function prototypes are usable.  */
  166. #undef PROTOTYPES
  167.  
  168. /* If the user has socks, use it.  */
  169. #ifdef HAVE_SOCKS
  170. #define connect Rconnect
  171. #define getsockname Rgetsockname
  172. #define bind Rbind
  173. #define accept Raccept
  174. #define listen Rlisten
  175. #define select Rselect
  176. #endif /* HAVE_SOCKS */
  177.  
  178. /* SunOS brain damage... */
  179. #ifndef STDC_HEADERS
  180. char *strstr();
  181. char *strchr();
  182. void *memcpy();
  183. #endif /* STDC_HEADERS */
  184.  
  185. #ifndef HAVE_STRERROR
  186. #  define mystrerror(x) (sys_errlist[x])
  187. extern char *sys_errlist[];
  188. #else /* not HAVE_STRERROR */
  189. #  define mystrerror(x) strerror(x)
  190. #endif /* HAVE_STRERROR */
  191.  
  192. #endif /* CONFIG_H */
  193.